﻿//-----------------------------------------------------------------------
// <copyright file="DanceDBContext.cs" company="Christian Coda">
// Copyright (c) Christian Coda. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DancingSite.Models
{
    using System.Data.Entity;

    /// <summary>
    /// The Dance database context class.
    /// </summary>
    public class DanceDBContext : DbContext
    {
        /// <summary>
        /// Gets or sets the dances set.
        /// </summary>
        public DbSet<Dance> Dances { get; set; }

        /// <summary>
        /// Gets or sets the genres set.
        /// </summary>
        public DbSet<DanceGenre> DanceGenres { get; set; }

        /// <summary>
        /// Gets or sets the event category set.
        /// </summary>
        public DbSet<EventCategory> EventCategories { get; set; }

        /// <summary>
        /// Gets or sets the locations set.
        /// </summary>
        public DbSet<Location> Locations { get; set; }

        /// <summary>
        /// Gets or sets the event category set.
        /// </summary>
        public DbSet<Schedule> Schedules { get; set; }
    }
}
